
	  $(function(){
		  
    	$("div h2 button").click(function(){
			var currId = $(this).attr("id");
			currId = currId + "_sub";
			//$(this).attr("id");
			//alert($("#"+currId).attr("style"));
			var currStyle =  $("#"+currId).attr("style");
			if(currStyle == undefined || currStyle =="display: block; " || currStyle =="" || currStyle =="display: block;" ){
				$("#"+currId).slideUp("fast");
			}else{
				$("#"+currId).slideDown("fast");
			}
			//alert($("#"+currId).attr("style"));
			
			
			//div.currentStyle["display"];
    	});
	 });
